<!--
/*
 * SPDX-License-Identifier: GPL-3.0-or-later
 * Copyright 2014 The moOde audio player project / Tim Curtis
 *
 * 汉化：Androidnews
 *
*/
-->
<div id="container">
<div class="container">
	<h1 class="ren-config">UPnP</h1>

    <form class="form-horizontal" action="" method="post">
    	<legend>设置
			<button class="legend-config btn btn-medium btn-primary btn-submit" type="submit" name="save" value="1">保存</button>
		</legend>

	<div class="config-horiz-rule">常规设置</div>

<div class="control-group">
<label class="control-label" for="upnpav">服务类型</label>
<div class="controls">
<select id="svctype" class="config-select-large" name="config[svctype]">
$_select[svctype]
</select>
<a aria-label="帮助" class="config-info-toggle" data-cmd="info-svctype" href="#notarget"><i class="fa-regular fa-sharp fa-info-circle"></i></a>
<span id="info-svctype" class="config-help-info">
选择 UPnP-A/V 或 OpenHome 服务。
</span>
</div>

<label class="control-label" for="checkcontentformat">检查内容</label>
<div class="controls">
    <select id="checkcontentformat" class="config-select-large" name="config[checkcontentformat]">
        $_select[checkcontentformat]
    </select>
    <a aria-label="帮助" class="config-info-toggle" data-cmd="info-check-content-format" href="#notarget"><i class="fa-regular fa-sharp fa-info-circle"></i></a>
    <span id="info-check-content-format" class="config-help-info">
        检查输入格式是否受支持。如果控制点或媒体服务器发送良好的音频数据但元数据不良，请将此选项设置为“否”。<br>
    </span>
</div>
</div>

<div class="config-horiz-rule">Qobuz 音乐服务</div>
<p class="sub-legend">
在此输入订阅凭据会创建一个代理媒体服务器，连接到 Qobuz 音乐服务。该媒体服务器将出现在 UPnP 控制点中。
</p>

<div class="control-group">
<label class="control-label" for="qobuzuser">Qobuz 用户名</label>
<div class="controls">
<input class="config-input-large" type="text" id="qobuzuser" name="config[qobuzuser]" value="$_select[qobuzuser]">
<a aria-label="帮助" class="config-info-toggle" data-cmd="info-qobuzuser" href="#notarget"><i class="fa-regular fa-sharp fa-info-circle"></i></a>
<span id="info-qobuzuser" class="config-help-info">
Qobuz 订阅的用户名。
</span>
</div>

<label class="control-label" for="qobuzpass">Qobuz 密码</label>
<div class="controls">
    <input class="config-input-large" type="password" id="qobuzpass" name="config[qobuzpass]" value="$_select[qobuzpass]">
    <a aria-label="帮助" class="config-info-toggle" data-cmd="info-qobuzpass" href="#notarget"><i class="fa-regular fa-sharp fa-info-circle"></i></a>
    <a class="show-hide-password" href="#notarget" data-id="qobuzpass"><i class="fa-regular fa-sharp fa-eye"></i></a>
    <span id="info-qobuzpass" class="config-help-info">
        Qobuz 订阅的密码。
    </span>
</div>

<label class="control-label" for="qobuzformatid">Qobuz 音质</label>
<div class="controls">
    <select id="qobuzformatid" class="config-select-large" name="config[qobuzformatid]">
        $_select[qobuzformatid]
    </select>
    <a aria-label="帮助" class="config-info-toggle" data-cmd="info-qobuzformatid" href="#notarget"><i class="fa-regular fa-sharp fa-info-circle"></i></a>
    <span id="info-qobuzformatid" class="config-help-info">
        指定所需的流音质，如果订阅允许所有质量级别，可以选择“最高可用分辨率”。
    </span>
</div>
</div>
	</form>
</div>
</div>
